package com.sample.tdf.dto;

import cn.com.taiji.common.dto.BaseTreeDTO;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 员工-部门中间表DTO
 */
@Data
@NoArgsConstructor
public class StaffDepartDTO extends BaseTreeDTO {
    /**
     * 部门id
     */
    private String id;
    /**
     * 部门父级id
     */
    private String parentId;
    /**
     * 部门名称
     */
    private String departName;
    /**
     * 员工id
     */
    private String sId;
    /**
     * 员工名称
     */
    private String sName;

    public StaffDepartDTO(String id, String parentId, String departName, String sId, String sName) {
        this.parentId = parentId;
        this.id = id;
        this.departName = departName;
        this.sId = sId;
        this.sName = sName;
    }
}
